/**
 * @Author 韦建韩
 * @Date 2022/3/24
 */
package com.zczn.order_system.controller;

import com.zczn.order_system.entity.Administrators;
import com.zczn.order_system.exception.CustomException;
import com.zczn.order_system.mapper.AdministratorsMapper;
import com.zczn.order_system.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class TestController {
    @Autowired
    UserMapper userMapper;
    @Autowired
    AdministratorsMapper administratorsMapper;
    @RequestMapping("test1")
    public void  test1(){
        Administrators administrators = administratorsMapper.seAll();
        System.out.println(administrators);
    }
}
